package com.example.demo.controller;

import com.example.client.HiClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 *
 * @author 27148
 * @Date 2021/9/8 11:11
 * @ClassName HiController
 */
@RestController
@RequestMapping("user")
public class HiController {

    @RequestMapping("/find")
    public String find(){
        /*if (1>0){
           throw  new RuntimeException();
        }*/

        System.out.println("++++++++++++++++++++");
        return "加咖啡粉";
    }
}
